<%@ page language="java" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>


<html>
	<head>
		<base href="<%=basePath%>">
		
		<title>海峰电影&nbsp;&nbsp;首页</title>
		<meta http-equiv="pragma" content="no-cache">
		<meta http-equiv="cache-control" content="no-cache">
		<meta http-equiv="expires" content="0">

		<link rel="stylesheet" type="text/css" href="css/global.css">
		<link rel="stylesheet" type="text/css" href="css/index.css">
		<link rel="stylesheet" type="text/css" href="css/head.css">
		<link rel="stylesheet" type="text/css" href="css/footer.css">

		<script type="text/javascript" src="js/jquery-1.6.1.js"></script>
		<script type="text/javascript" src="js/common.js"></script>
		<script type="text/javascript" src="js/index.js"></script>

		<!-- easyui -->
		<link rel="stylesheet" type="text/css" href="easyui/themes/gray/easyui.css">
		<script type="text/javascript" src="easyui/jquery.min.js"></script>
		<script type="text/javascript" src="easyui/jquery.easyui.min.js"></script>

		<script type="text/javascript" src="js/json.js"></script>
	</head>
  
	<body>
		<%@ include file="head.jsp" %>

		<div id="main">
			<div id="main_top">
				<a><img src="img/ad/ttbj.jpg"/></a>
			</div>
			
			<div id="main_left">
				<div id="main_left_top">
					<div>
						<div>
							<div>
								<a target="_self" href="javascript:goUrl()">
									<span>
										<script type="text/javascript">
											var imgUrl1 = "img/ad/look_dzd.jpg";
											var imgtext1 = "广告01";
											var imgLink1 = "";
											
											var imgUrl2 = "img/ad/look_gwdyj.jpg";
											var imgtext2 = "广告02";
											var imgLink2 = "";
											
											var imgUrl3 = "img/ad/look_dxlxj.jpg";
											var imgtext3 = "广告03";
											var imgLink3 = "";
											
											var imgUrl4 = "img/ad/look_zm.jpg";
											var imgtext4 = "广告04";
											var imgLink4 = "";
										
											var look_width = 760;
											var look_height = 260;
											var text_height = 0;
											var swf_height = look_height + text_height;

											var pics = imgUrl1 + "|" + imgUrl2 + "|" + imgUrl3 + "|" + imgUrl4;
											var links = imgLink1 + "|" + imgLink2 + "|" + imgLink3 + "|" + imgLink4;
											var texts = imgtext1 + "|" + imgtext2 + "|" + imgtext3 + "|" + imgtext4;

											document.write('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="' + look_width + '" height="' + swf_height + '">');
											document.write('<param name="allowScriptAccess" value="sameDomain"><param name="movie" value="look.swf"><param name="quality" value="high"><param name="bgcolor" value="#F0F0F0">');
											document.write('<param name="menu" value="false"><param name=wmode value="opaque">');
											document.write('<param name="FlashVars" value="pics='+pics+'&links='+links+'&texts='+texts+'&borderwidth='+look_width+'&borderheight='+look_height+'&textheight='+text_height+'">');
											document.write('<embed src="look.swf" wmode="opaque" FlashVars="pics='+pics+'&links='+links+'&texts='+texts+'&borderwidth='+look_width+'&borderheight='+look_height+'&textheight='+text_height+'" menu="false" bgcolor="#F0F0F0" quality="high" width="'+ look_width +'" height="'+ look_height +'" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer"/>');
											document.write('</object>');
										</script>
									</span>
								</a>
							</div>
						</div>
					</div>
				</div>
				
				<div id="main_left_middle" class="easyui-tabs" style="width: 760px; margin-top: 20px;">
					<div id="divHot" title="正在热播" style="background-color: #f3f3f3;"></div>
					
					<div id="divStart" title="即将上映" style="background-color: #f3f3f3;"></div>
				</div>
				
				
			</div>
			
			<div id="main_right">
				<a><img src="img/ad/klj.jpg"/></a>
				<a><img src="img/ad/dxlxj.gif"/></a>
				<a><img src="img/ad/hxx.gif"/></a>
				<a><img src="img/ad/wdwb.gif"/></a>
				<a><img src="img/ad/wdzzd.gif"/></a>
			</div>
			
			<div id="main_bottom">
				<a><img src='img/ad/gwdyj.jpg'/></a>
			</div>
		</div>
		
		<%@ include file="footer.jsp" %>
	</body>
</html>